PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

accounting_transactions

Retrieves a accounting_transactions resource.

Retrieves a accounting_transactions resource.

Authorizations:
JWT
path Parameters
id
required
string

accounting_transactions identifier

Responses

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "child": { },
  • "parent": { },
  • "date": "2019-08-24T14:15:22Z",
  • "comment": "string",
  • "ref": "string",
  • "systemTrace": "string",
  • "origin": "string",
  • "refTable": "string",
  • "refRowId": 0,
  • "period": {
    },
  • "type": {
    },
  • "shortcode": "N",
  • "metadata": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "transactionRawComment": "string",
  • "entriesListing": "string",
  • "transactionSum": 0,
  • "transactionTotalAmount": 0,
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Replaces the accounting_transactions resource.

Replaces the accounting_transactions resource.

Authorizations:
JWT
path Parameters
id
required
string

accounting_transactions identifier

Request Body schema:
required

The updated accounting_transactions resource

accounting_transactions.jsonld-post (object) or null
accounting_transactions.jsonld-post (object) or null
date
string <date-time>
comment
string or null
systemTrace
string or null
origin
string or null
refTable
string or null
refRowId
integer or null
Array of objects (accounting_entries.jsonld-post)

Get entries.

accounting_periods.jsonld-post (object) or null

Get period.

notes
string or null
required
object (accounting_transactiontypes.jsonld-post)

TransactionType.

deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customData
Array of strings or null
disabledAt
string or null <date-time>

Responses

Request samples

Content type
{
  • "child": { },
  • "parent": { },
  • "date": "2019-08-24T14:15:22Z",
  • "comment": "string",
  • "systemTrace": "string",
  • "origin": "string",
  • "refTable": "string",
  • "refRowId": 0,
  • "entries": [
    ],
  • "period": {
    },
  • "notes": "string",
  • "type": {
    },
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customData": [
    ],
  • "disabledAt": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "child": { },
  • "parent": { },
  • "date": "2019-08-24T14:15:22Z",
  • "comment": "string",
  • "ref": "string",
  • "systemTrace": "string",
  • "origin": "string",
  • "refTable": "string",
  • "refRowId": 0,
  • "period": {
    },
  • "type": {
    },
  • "shortcode": "N",
  • "metadata": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "transactionRawComment": "string",
  • "entriesListing": "string",
  • "transactionSum": 0,
  • "transactionTotalAmount": 0,
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Removes the accounting_transactions resource.

Removes the accounting_transactions resource.

Authorizations:
JWT
path Parameters
id
required
string

accounting_transactions identifier

Responses